.game-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 30px;
    font-family: 'Segoe UI', sans-serif;
    background: var(--bg-gradient);
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    color: white;
}

.score-board {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    font-size: 18px;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 120px;
    margin: 20px 0;
    padding: 10px;
    border: 2px dashed #666;
}

/* 添加颜色变量 */
:root {
  --red-color: #ff4444;
  --black-color: #333;
  --gold-color: #ffd700;
  --status-success: #4CAF50;
  --status-error: #f44336;
  --status-info: #2196F3;
  --bg-gradient: linear-gradient(150deg, #2c3e50 0%, #3498db 100%);
}

/* 修改卡牌颜色 */
.card {
    width: 80px;
    height: 120px;
    border: 1px solid #333;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    background: white;
    transition: transform 0.1s;
    transition: all 0.3s ease-in-out;
}

.card.red-suit {
  color: var(--red-color);
}

.card.black-suit {
  color: var(--black-color);
}

/* 调整选中卡牌位移 */
.card.selected {
  transform: translateY(-20px) scale(1.05);
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  filter: brightness(1.1);
}

.special-card {
  border: 2px solid var(--gold-color);
  background: linear-gradient(45deg, #fff3cd 0%, #ffffff 100%);
}

.special-card.red-suit,
.special-card.black-suit {
  color: var(--gold-color);
  text-shadow: 0 0 2px rgba(0,0,0,0.3);
}

.controls {
    text-align: center;
    margin-top: 20px;
}

button {
    padding: 10px 20px;
    margin: 0 10px;
    font-size: 16px;
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
}

button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* 状态提示样式 */
.game-status {
  color: #333;
  padding: 12px 20px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.status-success {
  background-color: var(--status-success);
  color: white;
}

.status-error {
  background-color: var(--status-error);
  color: white;
}

.status-info {
  background-color: var(--status-info);
  color: white;
}